#define _CRT_SECURE_NO_WARNINGS 1

#include "LT.h"

void test01()
{
	LTNode* plist = LTInit();
	LTInsert(plist, 1);
	LTNode* find = LTFind(plist, 1);
	LTInsert(find, 2);
	find = LTFind(plist, 2);
	LTInsert(find, 3);
	find = LTFind(plist, 3);
	LTInsert(find, 4);
	find = LTFind(plist, 4);
	LTInsert(find, 5);
	LTErase(LTFind(plist, 1));
	LTErase(LTFind(plist, 2));
	LTErase(LTFind(plist, 3));
	LTErase(LTFind(plist, 4));
	LTErase(LTFind(plist, 5));
	LTPrint(plist);
}

int main()
{
	test01();
	return 0;
}